﻿<Window x:Class="SimpleEncryption.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:SimpleEncryption"
        Title="MainWindow" Height="350" Width="525">
    <Window.DataContext>
        <local:MainViewModel></local:MainViewModel>
    </Window.DataContext>
    <Grid>
        <Button Command="{Binding GenerateCryptoStepsCommand}" Content="Generate Crypto Steps" HorizontalAlignment="Left" Margin="355,10,0,0" VerticalAlignment="Top" Width="153"/>
        <TextBox  HorizontalAlignment="Left" Height="23" Margin="163,10,0,0" TextWrapping="Wrap" Text="{Binding NumberOfSteps}" VerticalAlignment="Top" Width="187"/>
        <Label Content="Number of Cryptosteps" HorizontalAlignment="Left" Margin="24,10,0,0" VerticalAlignment="Top"/>
        <TextBox Height="30" Margin="125,70,168.4,0" TextWrapping="Wrap" Text="{Binding TextToDecode}" VerticalAlignment="Top"/>
        <Label Content="TextToDecode" HorizontalAlignment="Left" Margin="24,72,0,0" VerticalAlignment="Top"/>
        <TextBox Height="30" Margin="125,39,168.4,0" TextWrapping="Wrap" Text="{Binding TextToEncode}" VerticalAlignment="Top"/>
        <Label Content="TextToEncode" HorizontalAlignment="Left" Margin="24,39,0,0" VerticalAlignment="Top"/>
        <Button Command="{Binding EncodeCommand}" Content="Encode" HorizontalAlignment="Left" Margin="355,41,0,0" VerticalAlignment="Top" Width="153"/>
        <Button Command="{Binding DecodeCommand}" Content="Decode" HorizontalAlignment="Left" Margin="355,74,0,0" VerticalAlignment="Top" Width="153"/>
        <Label Content="Number of itterations" HorizontalAlignment="Left" Margin="24,102,0,0" VerticalAlignment="Top"/>
        <TextBox HorizontalAlignment="Left" Height="30" Margin="154,105,0,0" TextWrapping="Wrap" Text="{Binding NumberOfItterations}" VerticalAlignment="Top" Width="55"/>
        <Label Content="Password" HorizontalAlignment="Left" Margin="214,105,0,0" VerticalAlignment="Top"/>
        <TextBox Height="30" Margin="279,105,10.4,0" TextWrapping="Wrap" Text="{Binding Password}" VerticalAlignment="Top"/>

    </Grid>
</Window>
